package it.test.java.decoratord.student;

import java.math.BigDecimal;

/**
 * @Copyright 纳新智能科技有限公司
 * @Author Liky
 * @Date 2023/9/27
 */
public class BaseLearning implements ILearning{
    @Override
    public BigDecimal improveScore(Student student) {
        System.out.println("学生："+student.getName()+" 原本成绩为："+student.getScore());
        return student.getScore();
    }
}
